import centers from "./centers"

const pointData = {
  unit: [{
    center: [34.655477, 119.206201],
    name: "XXX使用单位",
    icon: 'Unit'
  },
  {
    center: [34.695477, 119.296201],
    name: "XXX使用单位",
    icon: 'Unit'
  }],
  d1: [{
    center: [34.607003, 119.263693],
    name: "锅炉",
    icon: 'D1'
  }],
  d2: [{
    center: [34.567061, 119.203327],
    name: "压力容器",
    icon: 'D2'
  }],
  d3: [{
    center: [34.519011, 119.222874],
    name: "起重机械",
    icon: 'D3'
  }],
  d4: [{
    center: [34.664029,119.132037],
    name: "电梯",
    icon: 'D4'
  }],
  d5: [{
    center: [34.519963, 119.310836],
    name: "厂内车",
    icon: 'D5'
  }],
  d6: [{
    center: [34.553743, 118.97566],
    name: "客运索道",
    icon: 'D6'
  }],
  d7: [{
    center: [34.499973, 119.38845],
    name: "游乐设施",
    icon: 'D7'
  }],
  d8: [{
    center: [34.337499, 119.253919],
    name: "气瓶",
    icon: 'D8'
  }],
};

// console.log(centers);
// for (let i = 0; i < 5; i++) {
//   let e = pointData.unit[0]
//   e.center = centers[i]
//   pointData.unit.push(e)
// }

export default pointData;
